{fix] removed display errors and variable declaration