gui working properly now