Fixed an issue when realTime is not passed