event not created for empty form