Fixed bug with not local components