resize and alpha work