fixed a bug in the data class