quick fix to issue with re-direct