possible fix to activity 500