Fixed #27 with create_view bug