fixes failing specs

This pull request fixes the three failing specs