fixed bug variables