Fixes issue where form wasn't saving