Comile errrors fixed