fixing view with spaces, closes #170