fixed some variables in manager