fix general label code syntax and indent errors