attributes bug fixed