[ERROR FIXED]: undefined variables