fixing the missing constants