fixed solution errors