Add missed status return value check