Trying to fix syntax bug