fixed a bug with placeholder visibility