Handle layers
Remove useless things