change array to object to try and fix mastercal error
removing test fix code