wrap this in an isset check, callbacks is sometimes missing (prolly due to expired sessions?)