remove unused x stuff