something wrong when trying to read attribute