made a form around the post area. added a catch for undefined tiem