Some changes for lego

Signed-off-by: anerik <anerikgames@gmail.com>