added errors
fixed form