removing awt dependencies