fixed error happening on mobile site

Signed-off-by: Chris Jones <chris@jonezy.org>