time as null issue fixed