improved some errors when no records are present
improved design of creation-form