fixes for when imagekit is not installed