fixed some form validation

turns out i had to use empty instead of isset