fix nil.call error when create_table believes there is a block