fixing controller to past data accross