fix details controller