made on load missing parameter error more verbose