correction on varaible defiination and document