front returns pdf instead of png