redirect works need better solution