fixed some bugs on Sass with tests