Fixed bug with Component reading