fix issue when options is nil
add warning to missing parameters in createObjectCallback()