fixed stuff in details class