Updated manager initialization
Fixed possible lua error in gps module