fixed attribute warning & color alpha