fixed invalid hard coding