Form not working - takes too long to respond'