Added type check to response in getStatus