Quick fix to stackoverflow