Fixed incorrect compilation