form appears and then disappears immedietly