Fixed errors in minifing