Fixed error with request being null