found out why it wasn't saving