Remove all compilation bugs