drop unused vars, thanks Morten Stevens