fix of percent statements