Trump gets public reality check from Barack Obama