added error handling for sass