fixing comp. errors