better performance

Change-Id: I7c7a83d86e242e85646c4e3fabc9713a8d8c6fe2
Signed-off-by: Marcelo Portilho <marceloport@gmail.com>