Fixed bug error