Remove useless assignment on defrecord