syntax error in bg