solved the purple problem