set the from properly