Fixed compilator errors