bugs at some getters fixed