fixing sunset value